#!/bin/sh

export PGPASSWORD=YiShan@700

pg_base=/opt/Betasoft/base/pgsql

su beta -c "$pg_base/bin/psql -h localhost -d a3v2 -p 30002 -c \"update $1.t_icon_entry set url = replace(url, '$2', '$3') \" -U betasoft"

echo ok

